<?php 

require '../extend/swiftmailer/swift_required.php';

   $transport = Swift_SmtpTransport::newInstance('smap.163.com', 25)
                            ->setUsername('用户名')
                            ->setPassword('密码');
 ?>